OpenBuildings GenerativeComponents Help

DPoint3d

A DPoint3d is defined by x, y, z coordinates. It can be created in the following ways using constructors.

	DPoint3d ptD3d;
	nt3d ptD3d = new DPoint3d();
	DPoint3d ptD3d = new DPoint3d(ref DPoint2d Source); 
	DPoint3d ptD3d = new DPoint3d(ref DVector2d Source); 
	DPoint3d ptD3d = new DPoint3d(ref DPoint3d Source);
	DPoint3d ptD3d = new DPoint3d(ref DVector3d Source);
	DPoint3d ptD3d = new DPoint3d(double ax, double ay);
	DPoint3d ptD3d = new DPoint3d(double ax, double ay,
double az);

DPoint3d's can also be Initialized using .Init

	ptD3d.Init(ref DPoint2d Source);
	ptD3d.Init(ref DVector2d Source);
	ptD3d.Init(ref DPoint3d Source);
	ptD3d.Init(ref DVector3d Source);
	ptD3d.Init(double ax, double ay);
	ptD3d.Init(double ax, double ay, double az);

DPoint3d can also have their values specified individually:

	ptD3d.X = 5.0;
	ptD3d.Y = 4.6;
	ptD3d.Z = 2.3;

In Place addition and subtraction

	Distance(ref DPoint3d Target)
	Eg. pt1D3d.Distance(ref pt2D3d)

ProductOf

ProductOf(ref DTransform3d Transform, ref DPoint3d Point)

From SumOf

	FromSumOf(ref DPoint3d Origin, ref DVector3d Vector1,
double scale1, ref DVector3d Vector2, double scale2) 
	FromSumOf(ref DPoint3d Origin, ref DVector3d Vector1,
double scale1, DVector3d Vector2, scale2)
	FromSumOf(ref DPoint3d Origin, ref DVector3d Vector,
double scale)
	FromSumOf(ref DPoint3d Origin, ref DMatrix3d Matrix,
double vectorx, double vectory, double vectorx) 
	FromSumOf(ref DPoint3d Origin, ref DMatrix3d Matrix,
ref DVector3d Vector) 
	FromSumOf(ref DPoint3d Origin, ref DVector3d Vector)
	FromSumOf(ref DPoint3d Vector1, double scale1, ref
DPoint3d double, double scale2, ref DPoint3d Vector3, double scale3)
	FromSumOf(ref DPoint3d Vector1, double scale1, ref
DPoint3d Vector2, double scale2, ref DPoint3d Vector3, double scale3)